package com.mzj.saas.mservice.propertybill.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 退费记录明细
 */
@Entity
@Table(name = "saas_house_return_premium")
public class HouseReturnPremium extends IdEntity {

    /*
     * 房屋id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /*
     * 机构id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     * 费用金额
     */
    @Column(name = "cost", nullable = true)
    private Integer cost;
    /*
     * 违约金金额
     */
    @Column(name = "violate_cost", nullable = true)
    private Integer violateCost;
    /*
     * 其他收费费用
     */
    @Column(name = "other_cost", nullable = true)
    private Integer otherCost;
    /*
     * 生成时间
     */
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    /*
     * 操作人
     */
    @Column(name = "create_id", nullable = true)
    private String createId;
    /*
     * 缴费状态：0未缴费 1已缴费
     */
    @Column(name = "payment_status", nullable = true)
    private Integer paymentStatus;
    /*
     * 缴费时间
     */
    @Column(name = "payment_time", nullable = true)
    private Date paymentTime;
    /*
     * 承租人id
     */
    @Column(name = "match_user_id", nullable = true)
    private String matchUserId;
    /*
     * 承租人
     */
    @Column(name = "match_user_name", nullable = true)
    private String matchUserName;
    /*
     * 类型：0退费 1补缴
     */
    @Column(name = "type", nullable = true)
    private Integer type;
    /*
     * 余额id
     */
    @Column(name = "remaining_id", nullable = true)
    private Long remainingId;

    /*
     * 操作人id
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /*
    退租id
     */
    @Column(name = "surrender_id", nullable = true)
    private Long surrenderId;

    public Integer getViolateCost() {
        return violateCost;
    }

    public void setViolateCost(Integer violateCost) {
        this.violateCost = violateCost;
    }

    public Long getSurrenderId() {
        return surrenderId;
    }

    public void setSurrenderId(Long surrenderId) {
        this.surrenderId = surrenderId;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Integer getOtherCost() {
        return otherCost;
    }

    public void setOtherCost(Integer otherCost) {
        this.otherCost = otherCost;
    }

    public Long getRemainingId() {
        return remainingId;
    }

    public void setRemainingId(Long remainingId) {
        this.remainingId = remainingId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getCost() {
        return cost;
    }

    public void setCost(Integer cost) {
        this.cost = cost;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Integer getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(Integer paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getMatchUserId() {
        return matchUserId;
    }

    public void setMatchUserId(String matchUserId) {
        this.matchUserId = matchUserId;
    }

    public String getMatchUserName() {
        return matchUserName;
    }

    public void setMatchUserName(String matchUserName) {
        this.matchUserName = matchUserName;
    }
}
